package com.fernfx.xingtan.my.contract;

import com.fernfx.xingtan.common.base.BaseModel;
import com.fernfx.xingtan.common.base.BasePresenter;
import com.fernfx.xingtan.common.base.BaseView;
import com.fernfx.xingtan.common.network.IRequestCallback;
import com.fernfx.xingtan.my.entity.GetPrivateSettingEntity;
import com.suke.widget.SwitchButton;

import java.util.Map;

/**
 * Created by admin on 2018/8/21.
 */

public interface PrivateSettingContract {
    interface View extends BaseView{
        void showSettingInfo(GetPrivateSettingEntity.ObjBean objBean);
    }

    interface Presenter extends BasePresenter{
        void savePrivacySetting(Map<String,Object> requestArgsMap,SwitchButton view);
    }

    interface Model extends BaseModel{
        void savePrivacySetting(Map<String,Object> requestArgsMap, IRequestCallback iRequestCallback);
    }
}
